package com.ruoyi.order.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 型号与节点关系对象 mes_model_node_rela
 * 
 * @author guoxl
 * @date 2025-06-01
 */
public class MesModelNodeRela extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 关系标识 */
    private Long relaId;

    /** 产品线编码 */
    @Excel(name = "产品线编码")
    private String subsysCode;

    /** 产品型号标识 */
    @Excel(name = "产品型号标识")
    private Long modelId;

    /** 产品型号编码 */
    @Excel(name = "产品型号编码")
    private String modelCode;

    /** 生产站位标识 */
    @Excel(name = "生产站位标识")
    private Long stationId;

    /** 生产站位编码 */
    @Excel(name = "生产站位编码")
    private String stationCode;

    /** 创建人 */
    @Excel(name = "创建人")
    private String creator;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updater;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private Integer deleted;

    public void setRelaId(Long relaId) 
    {
        this.relaId = relaId;
    }

    public Long getRelaId() 
    {
        return relaId;
    }

    public String getSubsysCode() { return subsysCode; }

    public void setSubsysCode(String subsysCode) { this.subsysCode = subsysCode; }

    public void setModelId(Long modelId)
    {
        this.modelId = modelId;
    }

    public Long getModelId() 
    {
        return modelId;
    }
    public void setModelCode(String modelCode) 
    {
        this.modelCode = modelCode;
    }

    public String getModelCode() 
    {
        return modelCode;
    }
    public void setStationId(Long stationId) 
    {
        this.stationId = stationId;
    }

    public Long getStationId() 
    {
        return stationId;
    }
    public void setStationCode(String stationCode) 
    {
        this.stationCode = stationCode;
    }

    public String getStationCode() 
    {
        return stationCode;
    }
    public void setCreator(String creator) 
    {
        this.creator = creator;
    }

    public String getCreator() 
    {
        return creator;
    }
    public void setUpdater(String updater) 
    {
        this.updater = updater;
    }

    public String getUpdater() 
    {
        return updater;
    }
    public void setDeleted(Integer deleted) 
    {
        this.deleted = deleted;
    }

    public Integer getDeleted() 
    {
        return deleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("relaId", getRelaId())
            .append("subsysCode", getSubsysCode())
            .append("modelId", getModelId())
            .append("modelCode", getModelCode())
            .append("stationId", getStationId())
            .append("stationCode", getStationCode())
            .append("creator", getCreator())
            .append("createTime", getCreateTime())
            .append("updater", getUpdater())
            .append("updateTime", getUpdateTime())
            .append("deleted", getDeleted())
            .toString();
    }
}
